<?php

//后台商品控制器
//命名空间
namespace Api\Controller;
use Think\Controller;
class TestController extends Controller{

	 public function ss(){                
        $design_case = D("design_case");
			  
			      $design_case = $design_case -> select();
			     	 foreach ($design_case as $k => $v) {
			        $arr[$k] = $v;
			        $arr[$k]['img'] = substr($v['img'], 1);
			   				 }
			  	dump($arr);

    }




}